package com.polaris.live.adapter.user_space

import com.polaris.live.common.adapter.BaseBindingAdapter
import com.polaris.live.common.adapter.VBViewHolder
import com.polaris.live.databinding.AdapterUserSpaceLabelsBinding
import com.polaris.live.resp.back_resp.UserOtherLabelVo

/**
 * UserSpaceLabelAdapter
 *
 * @author Created by 半仙 on 2023/9/23/023 10:42
 */
class UserSpaceLabelAdapter :
    BaseBindingAdapter<AdapterUserSpaceLabelsBinding, UserOtherLabelVo>() {

    override fun convert(
        holder: VBViewHolder<AdapterUserSpaceLabelsBinding>,
        item: UserOtherLabelVo
    ) {
        holder.vb.apply {
            itemLabelText.text = "${item.labelName} ${item.number}"
        }
    }
}